I have a class I need to call in XSLT, that have { and } in it. Unfortuantly when I insert these in the XSLT it makes an error, which it should because it will conflict. How can I "translate" it to something the browser understand afterwards?
I'm using a jQuery for round corners and this functionality needs a class="rounded {3px}" to get a 3 px round corner. It's no problem in the template, but when I try to do it in the XSLT editor it throw's back an error.
I will try to place your example tomorrow in the code to see if it solves my problem.
How do I make the { or } in XSLT
Hi,
I have a class I need to call in XSLT, that have { and } in it. Unfortuantly when I insert these in the XSLT it makes an error, which it should because it will conflict. How can I "translate" it to something the browser understand afterwards?
Kind regards,
Niels Kristiansen
An example of your code may help the understanding of your question. I will try to read between the lines for the moment.
You can try
[code]
code...
[/code]
Hi Neehouse
Of course, my mistake :)
I'm using a jQuery for round corners and this functionality needs a class="rounded {3px}" to get a 3 px round corner. It's no problem in the template, but when I try to do it in the XSLT editor it throw's back an error.
I will try to place your example tomorrow in the code to see if it solves my problem.
Thank you for the quick reply.
OK in xslt try this piece of code
[code]
Content inside your div....
[/code]
Hope this helps.
Warren
Hi Warren,
That just did it, works like a okilidokoli now :)
Thanks so much and have a very nice weekend.
is working on a reply...